export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      '@': resolve(__dirname, 'src')
    },
    extensions: ['.js', '.ts', '.vue']
  },
  base: '/',
  server: {
    port: 5173,
    strictPort: true,
    open: true,
    cors: true,
    proxy: {
      '/user': {
        target: 'http://localhost:8082',
        changeOrigin: true,
        rewrite: (path) => path
      }
    }
  }
}) 